/*******************************************************************
 * Created Mon Dec 26 08:56:12 2011 by Tuxedo V8.0-01 (C++ Bindings)
 *******************************************************************
 */

/*
 * Client Stubs include file: (ppm_c.h)
 * --------------------------------------------
 *
 * This module contains definitions and prototypes
 * for the following Interfaces:
 *
 *    IPpm
 *    PpmFactory
 *
 */

namespace Ppm
{
    class	IPpm;
    typedef	IPpm *	IPpm_ptr;
    class IPpm_out;
    class	PpmFactory;
    typedef	PpmFactory *	PpmFactory_ptr;
    class PpmFactory_out;
}  // namespace Ppm


#ifndef _ppm_c_H
#define _ppm_c_H

#include <string.h>
#include <CORBA.h>
#include <orbgen.h>

#if defined(WIN32)
#pragma warning(disable:4250)
#endif

namespace Ppm
{
    class  IPpm_var : public ::CORBA::_var {
        public:
            IPpm_var();
            inline IPpm_var(IPpm_ptr p) {ptr_ = p; }
            IPpm_var(const IPpm_var &a);
            ~IPpm_var()
                { free();}

            IPpm_var &operator=(IPpm_ptr p)
                { if (p != ptr_) reset(p);
                return *this; }

            IPpm_var &operator=(const IPpm_var &a);
            inline IPpm_ptr in () const { return ptr_; }
            inline IPpm_ptr & inout () { return ptr_; }
            IPpm_ptr & out ();
            IPpm_ptr _retn ();

            inline operator IPpm_ptr&() { return ptr_; }
            inline operator const IPpm_ptr&() const { return ptr_; }
            inline IPpm_ptr operator->() const { return ptr_; }

            inline IPpm_ptr & ptr () { return ptr_; }
        protected:
            IPpm_ptr ptr_;
            void free();
            void reset(IPpm_ptr p) { free(); ptr_ = p; }

        private:
            void operator=(const ::CORBA::_var &);
    };  // class IPpm_var


    class  PpmFactory_var : public ::CORBA::_var {
        public:
            PpmFactory_var();
            inline PpmFactory_var(PpmFactory_ptr p) {ptr_ = p; }
            PpmFactory_var(const PpmFactory_var &a);
            ~PpmFactory_var()
                { free();}

            PpmFactory_var &operator=(PpmFactory_ptr p)
                { if (p != ptr_) reset(p);
                return *this; }

            PpmFactory_var &operator=(const PpmFactory_var &a);
            inline PpmFactory_ptr in () const { return ptr_; }
            inline PpmFactory_ptr & inout () { return ptr_; }
            PpmFactory_ptr & out ();
            PpmFactory_ptr _retn ();

            inline operator PpmFactory_ptr&() { return ptr_; }
            inline operator const PpmFactory_ptr&() const { return ptr_; }
            inline PpmFactory_ptr operator->() const { return ptr_; }

            inline PpmFactory_ptr & ptr () { return ptr_; }
        protected:
            PpmFactory_ptr ptr_;
            void free();
            void reset(PpmFactory_ptr p) { free(); ptr_ = p; }

        private:
            void operator=(const ::CORBA::_var &);
    };  // class PpmFactory_var




    extern const ::CORBA::TypeCode_ptr _tc_IPpm;
    class  IPpm : public virtual ::CORBA::Object
     {
        public:
            static IPpm_ptr _duplicate(IPpm_ptr obj) 
                {if (! ::CORBA::is_nil(obj)) obj->OBB__increment_refcount();
                return obj;}
            static IPpm_ptr _narrow(::CORBA::Object_ptr obj, ::CORBA::Boolean isa = CORBA_TRUE);
            inline static IPpm_ptr _nil() { return 0; }
            static const char* _get_interface_name ();

            virtual ::CORBA::Short saveBasicAttrTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryBasicAttrTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveTempSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTempSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveApplicationCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryApplicationCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short createTask (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTask (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short createProcOrd (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProcOrd (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operatePPMOrder (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPPMOrderOperation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryFlowInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short createApplicationCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateDir (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateCfgRelation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryCfgRelation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short querySysCfgTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateCatalogPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryCatalogPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateStaffPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryStaffPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAppVersionList (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPpmPriceDescItemSpecTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getPpmPriceRemark (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short querySimilitudeAndMutexTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryOperatorByCatalogId (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTaskBySimilitudeAndMutex (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateFlowTimeRecord (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryFlowTimeRecord (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryLogInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operaterLogInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short modifyTaskLevel (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryContactAppListByAppCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short buildPPMDepartment (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPPMDepartment (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short buildPPMGHRole (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPPMGHRole (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAppCompareResult (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTaskInfoForOA (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAttrSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveAttrSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMktResource (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTemplateBasicInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAppAndTestTraining (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short userAndIncomeThresholdConfig (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short filterApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryThresholdConfig (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short Statistics (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short querySPInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryInterfaceInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short operateInterSendInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPricePlan (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short singleSignOn (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTeamInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveAccessoriesRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAccessoriesRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePriceTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPriceTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveApplicationInfo_FJ (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getSPInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getSpName (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short ProdConfigCompleteSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short VAProdSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short VAProdOfferSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short GroupProdReleaseSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short GroupProdOfferReleaseSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short pubSendInterFace (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMasterCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveLargeContent (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryLargeContent (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getPriceInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getPpmKmwsInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short ProdloadCompleteSVFORJT (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short ProdOfferloadCompleteSVFORJT (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

        protected:
            IPpm(::CORBA::Object_ptr obj = 0);
            virtual ~IPpm(){ }

        private:
            IPpm( const IPpm&) { }
            void operator=(const IPpm&) { }
            ::CORBA::ORB_ptr pORB;
    };  // class IPpm



    class  IPpm_out
     {
        public:
            IPpm_out (IPpm_ptr & p);
            IPpm_out (IPpm_var & p);
            IPpm_out (const IPpm_out & p) : ptr_(p.ptr_) {}
            IPpm_out & operator=(const IPpm_out & a) {
                ptr_ = a.ptr_; return *this;}
            IPpm_out & operator=(const IPpm_var & a);
            IPpm_out & operator=(IPpm_ptr p) {
            ptr_ = p; return *this;}
            inline operator IPpm_ptr & () { return ptr_; }
            inline IPpm_ptr & ptr () { return ptr_; }
            inline IPpm_ptr operator->() { return ptr_; }
        private:
            IPpm_ptr & ptr_;
    };  // class IPpm_out



    extern const ::CORBA::TypeCode_ptr _tc_PpmFactory;
    class  PpmFactory : public virtual ::CORBA::Object
     {
        public:
            static PpmFactory_ptr _duplicate(PpmFactory_ptr obj) 
                {if (! ::CORBA::is_nil(obj)) obj->OBB__increment_refcount();
                return obj;}
            static PpmFactory_ptr _narrow(::CORBA::Object_ptr obj, ::CORBA::Boolean isa = CORBA_TRUE);
            inline static PpmFactory_ptr _nil() { return 0; }
            static const char* _get_interface_name ();

            virtual IPpm_ptr findIPpm (); 

        protected:
            PpmFactory(::CORBA::Object_ptr obj = 0);
            virtual ~PpmFactory(){ }

        private:
            PpmFactory( const PpmFactory&) { }
            void operator=(const PpmFactory&) { }
            ::CORBA::ORB_ptr pORB;
    };  // class PpmFactory



    class  PpmFactory_out
     {
        public:
            PpmFactory_out (PpmFactory_ptr & p);
            PpmFactory_out (PpmFactory_var & p);
            PpmFactory_out (const PpmFactory_out & p) : ptr_(p.ptr_) {}
            PpmFactory_out & operator=(const PpmFactory_out & a) {
                ptr_ = a.ptr_; return *this;}
            PpmFactory_out & operator=(const PpmFactory_var & a);
            PpmFactory_out & operator=(PpmFactory_ptr p) {
            ptr_ = p; return *this;}
            inline operator PpmFactory_ptr & () { return ptr_; }
            inline PpmFactory_ptr & ptr () { return ptr_; }
            inline PpmFactory_ptr operator->() { return ptr_; }
        private:
            PpmFactory_ptr & ptr_;
    };  // class PpmFactory_out

}  // namespace Ppm

void  operator<<=(::CORBA::Any &a, ::Ppm::IPpm_ptr obj);
::CORBA::Boolean  operator>>=(const ::CORBA::Any &a, ::Ppm::IPpm_ptr &obj);
void  operator<<=(::CORBA::Any &a, ::Ppm::PpmFactory_ptr obj);
::CORBA::Boolean  operator>>=(const ::CORBA::Any &a, ::Ppm::PpmFactory_ptr &obj);
OBB::MarshalBuf  &operator<<(OBB::MarshalBuf &mb, Ppm::IPpm_ptr _obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Ppm::IPpm_ptr &_obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Ppm::IPpm_var &_obj);
OBB::MarshalBuf  &operator<<(OBB::MarshalBuf &mb, Ppm::PpmFactory_ptr _obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Ppm::PpmFactory_ptr &_obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Ppm::PpmFactory_var &_obj);
#endif

